package com.example.admin.service;

import com.example.xo.pojo.Admin;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 王同学
 */
@Transactional
public interface AdminService {
    boolean login(Admin admin);

    Admin findByEmail(String email);
}
